<?php
class HomePage extends Page {
	public static $db = array(		
		'Mission'	=> 'Varchar(255)',		
	);

	public static $has_one = array(
		//'Image'		=> 'Image',
	);
	
	public static $has_many = array(					
	);
	
	function getCMSFields(){
		$fields = parent::getCMSFields();
				
		$fields->addFieldToTab('Root.Content.Main', new TextField('Mission', 'Our mission'), 'Content');
		//$fields->addFieldToTab('Root.Content.Main', new ImageField('Image', 'Image (Recommended size: 143 x 147)'), 'Content');		
		$fields->dataFieldByName('Content')->setTitle('Our services');
		
		return $fields;
	}
}

class HomePage_Controller extends Page_Controller {	
	public function init() {        
		parent::init();		
	}

    function GetProjects(){
	}	

    function GetTeam(){        
    }
	
    function LatestNews(){        
    }
}